﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="TaxCalculator.aspx.cs" Inherits="PhillyCodeCamp.Web.TaxCalculator"
    Title="Philly Code Camp Tax Calculator" %>

<%@ Register Src="UserControls/LeftNavigationForMainSite.ascx" TagName="LeftNavigationForMainSite"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="_head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="_contentLeftMenu" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="_contentMainContent" runat="Server">
    <div class="contentHeader">
        Income Tax Calculator</div>
    <table class="fieldEntryTable">
        <tr>
            <td class="label">
                Date:
            </td>
            <td class="fieldEntry">
                <asp:TextBox runat="server" ID="_submissionDate"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="label">
                State:
            </td>
            <td class="fieldEntry">
                <asp:DropDownList runat="server" ID="_states" DataValueField="Value" DataTextField="Text">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="label">
                Total Income:
            </td>
            <td class="fieldEntry">
                <asp:TextBox runat="server" ID="_totalIncome"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="label">
                Work for Bailed Out Company:
            </td>
            <td class="fieldEntry">
                <asp:CheckBox runat="server" ID="_bailed"></asp:CheckBox>
            </td>
        </tr>
    </table>
    <div>
        <asp:Button runat="server" ID="_submit" Text="Compute" OnClick="_submit_Click" />
    </div>
    <asp:Label runat="server" ID="_calculatedTaxLabel" Text="Total:" />
    <asp:TextBox runat="server" ID="_calculatedTax" ReadOnly="true" />
</asp:Content>
